package orm;

public class Word {
    private Integer id;
    private String word;
    private String meaning;
    private String sentence;
    private String audio;
    private Boolean favorite;
    private Integer userId;

    public Word(Integer id, String word, String meaning, String sentence, String audio, Boolean favorite, Integer userId) {
        this.id = id;
        this.word = word;
        this.meaning = meaning;
        this.sentence = sentence;
        this.audio = audio;
        this.favorite = favorite;
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public void setMeaning(String meaning) {
        this.meaning = meaning;
    }

    public String getMeaning() {
        return meaning;
    }

    public String getSentence() {
        return sentence;
    }

    public void setSentence(String sentence) {
        this.sentence = sentence;
    }

    public String getAudio() {
        return audio;
    }

    public void setAudio(String audio) {
        this.audio = audio;
    }

    public Boolean isFavorite() {
        return favorite;
    }

    public void setFavorite(Boolean favorite) {
        this.favorite = favorite;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
